

module.exports = function (router, settings) {
    require('./authorization.js')(router, settings);
    router.get('/', index);
    require('./admin.js')(router, settings);
    require('./profile.js')(router, settings);
    require('./rules.js')(router, settings);
    require('./provider.js')(router, settings);
    require('./worker.js')(router, settings);
}


var index = function (req, res) {
    var template = 'index';
    res.render(template, {});
}